<?php  if (!defined('PATH_HD')) exit('No direct script access allowed');

class IndexControl extends Control{
    function index(){
        
        // p($result);
        $this->display();
    }
    function header(){
    	$this->display();
    }
    function menu(){
    	$this->display();
    }
    function main(){
        $time=date('Y-m-d H:i:s', time());
        $this->assign('time',$time);
    	$this->display();
    }
}
?>